package io.chenglicun.modules.clc.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.chenglicun.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 村民档案
*
* @author HB 137664951@qq.com
* @since 1.0 2023-10-30
*/
@Data
@ApiModel(value = "村民档案")
public class ClcUserArchiveDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "档案类型id(数据字典)")
    private Long archiveType;
    @ApiModelProperty(value = "档案类型名称")
    private String archiveTypeName;
    @ApiModelProperty(value = "富文本内容")
    private String textContent;
    @ApiModelProperty(value = "发生时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date occurrenceDate;
    @ApiModelProperty(value = "创建者")
    private Long creator;
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
    @ApiModelProperty(value = "更新者")
    private Long updater;
    @ApiModelProperty(value = "更新时间")
    private Date updateDate;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "逻辑删除 0：未删除 1：已删除")
    private Integer isDeleted;

}